home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / ptv1n2.arc / MOUSE.H < prev    next >
Text File  |  1990-06-14  |  572b  |  17 lines

  1. /* mouse.h
  2.  */
  3. #define RESET_MOUSE              0
  4. #define SHOW_MOUSE               1
  5. #define HIDE_MOUSE               2
  6. #define GET_MOUSE_STATUS         3
  7. #define PRESSED             5    /* Button presses */
  8. #define RELEASED            6    /* Button releases */
  9. #define LEFT_BUTTON              0    /* Use left button */
  10.  
  11. /* The function prototypes for the functions in mouse.c */
  12. void mouse(int *m1, int *m2, int *m3, int *m4);
  13. int  initmouse(void);
  14. void getmousecoords(int *x, int *y);
  15. void mousestatus(int stateofmouse);
  16. int buttonstatus(int condition, int whichbutton);
  17.